#ifndef TOOLS_H
#define TOOLS_H

#include <string>

namespace EngineTools
{

	void RedirectIOToConsole();
	bool isBitSet( const unsigned int number, const short pos );
	char* TextFileRead(char *fn);
	int TextFileWrite(char *fn, char *s);
	std::string GetOpenglError();
	std::string DebugUniform( int progHandle, int uniformIndex, int howManyValues );
	bool GetUniformPositionFromShader( unsigned int& positionInShader, unsigned int shader, std::string variableNameInShader, bool assertOnFailure = false);
}

#endif 